package com.xujl.mvcbind.ui.custom.control;

import android.os.Bundle;

import com.xujl.fastlib.base.BaseFragment;
import com.xujl.mvcbind.ui.custom.model.CustomAttrFragmentModel;
import com.xujl.mvcbind.ui.custom.view.CustomAttrFragmentView;

/**
 * <pre>
 *     author : xujl
 *     e-mail : 597355068@qq.com
 *     time   : 2019/08/20
 *     desc   : 自定义属性
 *     version: 1.0
 * </pre>
 */
public class CustomAttrFragmentControl extends BaseFragment<CustomAttrFragmentModel, CustomAttrFragmentView> {
    public static CustomAttrFragmentControl newInstance () {

        Bundle args = new Bundle();

        CustomAttrFragmentControl fragment = new CustomAttrFragmentControl();
        fragment.setArguments(args);
        return fragment;
    }
    @Override
    public void init (Bundle savedInstanceState) {
        mView.setData(mModel.getCustomBean());
    }
}
